package com.centling.smartSealForPhone.utils;

import android.preference.PreferenceManager;

import com.centling.smartSealForPhone.application.SmartSeal;

/**
 * @author fionera
 */
public class SPUtil extends com.wsdk.util.SPUtil {

    private static void init() {
        LogUtil.d("Override SPUtil");
        mSharedPreferences = PreferenceManager.getDefaultSharedPreferences(SmartSeal.getInstance());
        LogUtil.d(mSharedPreferences +  "");
    }

    static {
        init();
    }

    public static String getString(String key) {
        return com.wsdk.util.SPUtil.getString(key);
    }

    public static void setString(String key, String value) {
        com.wsdk.util.SPUtil.setString(key, value);
    }
}
